<?php
class Pageley_Controller_ViewResolver_Html implements Pageley_Controller_ViewResolver {
    public function resolveView($name) {
        $path = "view/" . $name . ".php";
    	$output = include($path);
        if(!$output) {
            throw new Pageley_Controller_RuntimeException("View not found at path '" . $path . "'.");
        }
    }
}